Menus
This section describes changes to applications' menu style and contents in
system 7.0. Applications can include several standard menu items that relate
to new features of system 7.0. This section also presents the reserved list of
keyboard equivalents for menu commands.
File Menu
Applications that support high-level database access, as described in the
File menu. This command opens a query document that establishes communication with a target database.
Edit Menu
include its commands in the Edit menu, separated from the standard commands by a gray line. The commands are
• Subscribe To
• Publisher/Subscriber Options (context-sensitive toggle command)
• Show/Hide Borders (optional context-sensitive toggle command)
• Stop All Editions (optional command)
The Figure below shows a sample Edit menu that includes the required commands.
If you find that you need all of the available space in the Edit menu for your application's commands, another way to accommodate the
Include a Publishing command in the Edit menu as the title of the sub-menu. Use the standard indicator for a hierarchical menu, as shown in the Figure
Because hierarchical menus increase the complexity of your application, it's
best to only use this approach when you have no other alternative.
The user interface issues, as well as the technical implementation of
System 7.0 includes TrueType fonts. If you decide to incorporate basic
support for TrueType fonts into your application, remove the 127-point size
limit for bitmapped fonts. Provide support for all font sizes in your
application. Continue to outline font sizes in the menu for those sizes that
appear in the user's System file. Use plain type for font sizes that are not in
the System file. If a TrueType font is present, outline all sizes of that font that
you display in the menu. Provide a way for users to choose whatever font size
they desire. When the user chooses a font size, place a checkmark next to the
active font size.
One method that you can use to support TrueType fonts is to add an Other
command to the end of the Size menu (or the end of the Font menu, if that's where your application allows users to choose font sizes). When the user
chooses Other, display a dialog box that allows the user to choose any available
font size. You can include a text box in which users can type the font size they
want. If the user enters a font size that's not currently on the menu, add it to
the list of choices. If the user is adding a TrueType font size, outline the size
when you add it to the menu. If the user is working with a bitmapped font, show
the new size in plain type. Provide a real-time display area to update the font
size as the user changes it. The Figure below displays a sample pull-down Size menu and font size dialog box. See the
A sample pull-down Size menu and font size dialog box Help Menu
System 7.0 includes on-line help for system software. The user can access
Apple's Balloon Help from the Help menu. If you provide help information for your application, move the help commands that you provide to the Help menu. It's a good idea to include the name of your application next to your help
command so that the user can easily distinguish the type of help to choose. For
example, you might include a command called TeachText Help in the Help menu. The Figure below shows the Help menu. You can also use the Help Manager to implement Balloon Help for your application. See the Help Manager for more information and implementation details.
Keyboard Equivalents
In the past, several keyboard equivalents were reserved by Apple for common
commands. The two Tables below show the standard Macintosh keyboard
equivalents.
Table Apple reserved keyboard equivalents for all systems
Menu Keys Command Menu Keys Command
The Table below shows several keyboard equivalents that are reserved for use
with worldwide versions of system software, localized keyboards, and keyboard
layouts. These keyboard equivalents have actions that do not correspond
directly to menu commands, so there is no menu column with command names
in the Table below.
Table Additional reserved keyboard equivalents for worldwide systems
Keys Action
-Space bar Rotate through enabled script systems
-Option-Space bar Rotate through keyboard layouts within a
script
-modifier key-Space bar Apple reserved
See the section on keyboard equivalents in the section en titled,
Worldwide Software Overview for more discussion of handling keyboard
equivalents in other script systems.
These key combinations are reserved across all applications. Even if your
application does not support one of these menu commands, it should not use
these keyboard equivalents for another function. This guideline is for the
user's benefit. Reserving these key combinations provides guaranteed,
predictable behavior across all applications.
Creating a situation where Command-O means open 99 percent of the time and
ostracize 1 percent of the time would do two things. First, users would not
consider using Command-O for the latter function because it is used by all
other applications to mean open. Second, changing the meaning of Command-O
in your application would weaken the user's perception of the consistency of
the interface.
Some applications use other common keyboard equivalents, as shown in the
Table below.
These keyboard equivalents are secondary to the standard keyboard
equivalents listed above. If your product does not support one of these
functions, then use these equivalents as you wish.
Table Other common keyboard equivalents Menu Keys Command Menu Keys Command
File -F Find Style -B Bold File -G Find Again Style -I Italic Style -T Plain Text Style -U Underline You should not assign keyboard equivalents for infrequently used menu
commands. Doing so only burdens your users and constrains your application.
Only add keyboard equivalents for the commands your users employ most
frequently.
Referenced by (188):
- Worldwide Software Development
- C Authors (MacTech Index)
- G Authors (MacTech Index)
- G Topics (MacTech Index)
- H Authors (MacTech Index)
- H Topics (MacTech Index)
- K Authors (MacTech Index)
- L Authors (MacTech Index)
- R Authors (MacTech Index)
- Vol 1 Issues (MacTech Index)
- Vol 11 Issues (MacTech Index)
- Vol 2 Issues (MacTech Index)
- Vol 3 Issues (MacTech Index)
- Vol 4 Issues (MacTech Index)
- Vol 5 Issues (MacTech Index)
- Vol 7 Issues (MacTech Index)
- Vol 9 Issues (MacTech Index)
- W Topics (MacTech Index)
- THINK Reference Menus (THINK Ref Viewer Help)
- Using the Tables of Contents (THINK Ref Viewer Help)
- May 92 - Software Review - Userland Frontier (Frameworks Archive)
- November 91 - AppMaker v1.2 (Frameworks Archive)
- September 93 - Classy (Frameworks Archive)
- September 93 - OOA/OOD (Frameworks Archive)
- Menu Manager (Inside Mac - Index)
- Misc. Topics (Inside Mac - Index)
- Standard Resource Types (Inside Mac - Index)
- TopMenuItem (Inside Mac - Index)
- User Interface Guidelines (Inside Mac - Index)
- mctRGB4 (Inside Mac - Index)
- menuWidth (Inside Mac - Index)
- numEntries (Inside Mac - Index)
- About The Help Manager (Inside Mac - Basic Toolbox)
- AddResMenu (Inside Mac - Basic Toolbox)
- AppendMenu (Inside Mac - Basic Toolbox)
- CalcMenuSize (Inside Mac - Basic Toolbox)
- CheckItem (Inside Mac - Basic Toolbox)
- ClearMenuBar (Inside Mac - Basic Toolbox)
- Color Menus (Inside Mac - Basic Toolbox)
- CountMItems (Inside Mac - Basic Toolbox)
- Custom Controls (Inside Mac - Basic Toolbox)
- Custom Menus (Inside Mac - Basic Toolbox)
- Default Help Balloons for Menus, Windows, and Icons (Inside Mac - Basic Toolbox)
- DelMCEntries (Inside Mac - Basic Toolbox)
- DelMenuItem (Inside Mac - Basic Toolbox)
- DeleteMenu (Inside Mac - Basic Toolbox)
- DisableItem (Inside Mac - Basic Toolbox)
- DispMCInfo (Inside Mac - Basic Toolbox)
- DisposeMenu (Inside Mac - Basic Toolbox)
- DrawMenuBar (Inside Mac - Basic Toolbox)
- EnableItem (Inside Mac - Basic Toolbox)
- FlashMenuBar (Inside Mac - Basic Toolbox)
- GetItem (Inside Mac - Basic Toolbox)
- GetItemCmd (Inside Mac - Basic Toolbox)
- GetItemIcon (Inside Mac - Basic Toolbox)
- GetItemMark (Inside Mac - Basic Toolbox)
- GetItemStyle (Inside Mac - Basic Toolbox)
- GetMCEntry (Inside Mac - Basic Toolbox)
- GetMCInfo (Inside Mac - Basic Toolbox)
- GetMHandle (Inside Mac - Basic Toolbox)
- GetMenu (Inside Mac - Basic Toolbox)
- GetMenuBar (Inside Mac - Basic Toolbox)
- GetNewMBar (Inside Mac - Basic Toolbox)
- HiliteMenu (Inside Mac - Basic Toolbox)
- InitMenus (Inside Mac - Basic Toolbox)
- InitProcMenu (Inside Mac - Basic Toolbox)
- InsMenuItem (Inside Mac - Basic Toolbox)
- InsertMenu (Inside Mac - Basic Toolbox)
- InsertResMenu (Inside Mac - Basic Toolbox)
- MenuChoice (Inside Mac - Basic Toolbox)
- MenuKey (Inside Mac - Basic Toolbox)
- MenuSelect (Inside Mac - Basic Toolbox)
- NewMenu (Inside Mac - Basic Toolbox)
- OpenDeskAcc (Inside Mac - Basic Toolbox)
- Overriding Help Balloons for Application Icons (Inside Mac - Basic Toolbox)
- Overriding Other Default Help Balloons (Inside Mac - Basic Toolbox)
- Pop-Up Menus (Inside Mac - Basic Toolbox)
- PopUpMenuSelect (Inside Mac - Basic Toolbox)
- Providing Help Balloons for Items in Dialog and Alert Boxes (Inside Mac - Basic Toolbox)
- Providing Help Balloons for Menus (Inside Mac - Basic Toolbox)
- SetItem (Inside Mac - Basic Toolbox)
- SetItemCmd (Inside Mac - Basic Toolbox)
- SetItemIcon (Inside Mac - Basic Toolbox)
- SetItemMark (Inside Mac - Basic Toolbox)
- SetItemStyle (Inside Mac - Basic Toolbox)
- SetMCEntries (Inside Mac - Basic Toolbox)
- SetMCInfo (Inside Mac - Basic Toolbox)
- SetMenuBar (Inside Mac - Basic Toolbox)
- SetMenuFlash (Inside Mac - Basic Toolbox)
- Specifying Options in Help Resources (Inside Mac - Basic Toolbox)
- Specifying the Format for Help Balloon Content (Inside Mac - Basic Toolbox)
- APL (MacTech Vol 01-1984-5)
- Programming Menus (MacTech Vol 01-1984-5)
- Tic-Tac-Toe (MacTech Vol 01-1984-5)
- Try Pop-Up (MacTech Vol 01-1984-5)
- BASIC Wars (MacTech Vol 02-1986)
- DA Philosophy (MacTech Vol 02-1986)
- Fonts and Cursors (MacTech Vol 02-1986)
- Forth Edit Task (MacTech Vol 02-1986)
- Menus, Windows (MacTech Vol 02-1986)
- Text Display (MacTech Vol 02-1986)
- Color Capable (MacTech Vol 03-1987)
- Dec 87 Mousehole (MacTech Vol 03-1987)
- Hierarchical (MacTech Vol 03-1987)
- Hierarchical Menus (MacTech Vol 03-1987)
- Life (MacTech Vol 03-1987)
- Multi-Window DA (MacTech Vol 03-1987)
- Nov 87 Letters (MacTech Vol 03-1987)
- Tear-Off (MacTech Vol 03-1987)
- VIP (MacTech Vol 03-1987)
- Calculating Distance (MacTech Vol 04-1988)
- HiMenus, Color Notes (MacTech Vol 04-1988)
- Jul 88 Letters (MacTech Vol 04-1988)
- MacHack (MacTech Vol 04-1988)
- MenuStuff (MacTech Vol 04-1988)
- Menus in TML (MacTech Vol 04-1988)
- Nov 88 Letters (MacTech Vol 04-1988)
- Plotter (MacTech Vol 04-1988)
- Pop-up CDEF (MacTech Vol 04-1988)
- Tear-off, Float menus (MacTech Vol 04-1988)
- Tear-off, Float menus (code 2) (MacTech Vol 04-1988)
- Tear-off, Float menus (code) (MacTech Vol 04-1988)
- Window Menus (MacTech Vol 04-1988)
- Color Icons (MacTech Vol 05-1989)
- Convert Pict2Rgn (MacTech Vol 05-1989)
- Cursor Wrap (MacTech Vol 05-1989)
- Designer CDEF (MacTech Vol 05-1989)
- Icon in DA Menu (MacTech Vol 05-1989)
- MIDI User Interface (MacTech Vol 05-1989)
- PREC Resource (MacTech Vol 05-1989)
- Popup Menu BASIC (MacTech Vol 05-1989)
- Quadratic Plotters (MacTech Vol 05-1989)
- Quadratic Plotters 2 (MacTech Vol 05-1989)
- Sample App in C++ (MacTech Vol 05-1989)
- May 90 Mousehole (MacTech Vol 06-1990)
- Object Shell 1 (MacTech Vol 06-1990)
- Object Shell 2 (MacTech Vol 06-1990)
- Pin-up Menu (MacTech Vol 06-1990)
- Self Doc Scripts (MacTech Vol 06-1990)
- Spiffy Color 1 (MacTech Vol 06-1990)
- Track, Field 1 (MacTech Vol 06-1990)
- BASIC Menus (MacTech Vol 07-1991)
- Carbon Copy (MacTech Vol 07-1991)
- Configure Window (MacTech Vol 07-1991)
- Easy Life (MacTech Vol 07-1991)
- Lisp Sounds (MacTech Vol 07-1991)
- MultiWindow DA (MacTech Vol 07-1991)
- OOP Architectures 1 (MacTech Vol 07-1991)
- OOP Architectures 2 (MacTech Vol 07-1991)
- Pie Menus (MacTech Vol 07-1991)
- StackRunner (MacTech Vol 07-1991)
- Window Menu Bars (code) (MacTech Vol 07-1991)
- AppMaker, Marksman (MacTech Vol 08-1992)
- Compiler Knows (MacTech Vol 08-1992)
- Jul 92 Tips (MacTech Vol 08-1992)
- Print Dialogs (MacTech Vol 08-1992)
- FutureBASIC (MacTech Vol 09-1993)
- TCL Quicktime (MacTech Vol 09-1993)
- TearOff TCL (MacTech Vol 09-1993)
- Dec 94 Top 10 (MacTech Vol 10-1994)
- MDEFS, Part 2 (MacTech Vol 10-1994)
- May 94 Tips (MacTech Vol 10-1994)
- May 94 Top 10 (MacTech Vol 10-1994)
- Prograph Review (MacTech Vol 10-1994)
- Rolling MDEF (MacTech Vol 10-1994)
- Apr 95 Newsbits (MacTech Vol 11-1995)
- Nov 95 Top 10 (MacTech Vol 11-1995)
- Sprocket Menus 1 (MacTech Vol 11-1995)
- Sprocket Menus 2 (MacTech Vol 11-1995)
- Sprocket Menus 3 (MacTech Vol 11-1995)
- Sprocket Menus 4 (MacTech Vol 11-1995)
- Jul 97 - Getting Started (MacTech Vol 13-1997)
- Mac Prog FAQ Review (MacTech Vol 13-1997)
- And then SOM... (MacTech Vol 14-1998)
- Apr 98 - Getting Started (MacTech Vol 14-1998)
- Contextual Menu Basics (MacTech Vol 14-1998)
- Jun 98 Getting Started (MacTech Vol 14-1998)
- Mar 98 - Getting Started (MacTech Vol 14-1998)
- May 98 - Getting Started (MacTech Vol 14-1998)
- Nov 98 Factory Floor (MacTech Vol 14-1998)
- The Knight's Tour (MacTech Vol 14-1998)
- Document Express Module (MacTech Vol 15-1999)
- Makes You Productive (MacTech Vol 15-1999)
- OS Shell In Java (MacTech Vol 15-1999)
- May 00 Bookshelf (MacTech Vol 16-2000)
- May 92 - KON & BAL'S PUZZLE PAGE (develop - 1992)
- September 93 - FLOATING WINDOWS: KEEPING AFLOAT IN THE WINDOW MANAGER (develop - 1993)
- September 96 - Adding Speech Recognition to an Application Framework (develop - 1996)